home *** CD-ROM | disk | FTP | other *** search
- ############################################
- File: WordWrap.FPL
- Author: Daniel Stenberg
- Email: email: dast@sth.frontec.se, FidoNet 2:201/328
- Short description: Wraps the line at a certain column
- Version: 1.1
- Date: 4.8.94
- Local settings: "wordwrap", "wall_right"
- Global settings:
- Keysequence:
- Type: Hook
- Prereq:
- ############################################
-
- FUNCTION
- When the local setting "wordwrap" is enabled, all outputs are checked if
- they pass the column "wall_right". If they do, they will be wrapped and the
- writing continues on the line below!
-
- BUGS
- It is a hook on Output() which means that only when the check is done only
- when things are written, not backspaced or deleted text. This _can_ although
- be done if anyone just modifies the script a bit!
-
- If you switch on 'wordwrap' and outputs in a line that already is many words
- wider than the right border, the result won't be satisfying! :(
-
- HISTORY
- 1.1 - Set the 'W'-flag in the settings enabling save.
-